testing the exe of main.py#176
Conversation
Refactor template directory path handling in tests.
|
@blkdmr ig its working, the job is failing because multiple templates are missing requirements.txt files or their main.py |
|
Hi @DagaBhai, looks like you are still working on this. Can i merge this PR? If your tests have found some bugs or inconsistencies, can you open some dedicated issues? |
pr is done for template testing and i have added it in the workflow also but pls see this make sure the all test pass can you pls fix these as idk how to do these
|
|
@ApusBerliozi please look at this when you have time. If is okay for you, we can merge this pr |
|
Hey @DagaBhai ! Could you please check, why tests are failing? |
|
Hey @DagaBhai! Kindly resolve conflicts |
|
ill raise new pr |
for #136
test_check_all_templates_dirVerifies that all expected template directories are present in the templates folder and that no unexpected template directories exist
test_check_for_mainEnsures every template contains a main.py file, which serves as the template's entry point
test_check_for_requirementEnsures every template contains a requirements.txt file listing its Python dependencies
test_mainValidates template executability by installing the template's dependencies, running its main.py script, and then uninstalling the dependencies before proceeding to the next template